Fix pr test workflow from forks#285
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request updates the repository’s GitHub Actions automation to better handle pull requests originating from forks, and removes an obsolete workflow that auto-reviewed Probot dependency bump PRs.
Changes:
- Skips the
tintef/nyc-reporter-actioncoverage reporting step when a PR comes from a fork to avoid permission-related failures. - Removes the
review-probot-prs.ymlworkflow that posted automated “request changes” reviews on Probot bump PRs.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/pr.yml |
Adds a fork guard condition so coverage reporting runs only for non-fork PRs. |
.github/workflows/review-probot-prs.yml |
Removes an unused automated review workflow for Probot bump PRs. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes improvements to the GitHub Actions workflows by refining coverage reporting and removing an automated review workflow for Probot-related pull requests.
Workflow improvements:
nyc-reporter-actionstep in.github/workflows/pr.ymlso that it only runs when the pull request is not from a forked repository, preventing unnecessary or failing coverage reports on forked PRs.Workflow cleanup:
.github/workflows/review-probot-prs.ymlworkflow, which previously posted automated review comments on Probot dependency bump pull requests, as it is no longer needed.